Ext.onReady(function() {

			var sayHi = function(name) {
				alert('Hi, ' + name);
			}

			//sayHi('Fred'); // alerts "Hi, Fred"

			var sayGoodbye = sayHi.createSequence(function(name) {
						alert('Bye, ' + name);
					});

			sayGoodbye('Fred'); // 调用次序:调用函数、被调用函数
		});